home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
74.208.221.89
/
74.208.221.89.zip
/
74.208.221.89
/
login1 - Copy.aspx
< prev
next >
Wrap
Text File
|
2015-03-14
|
899b
|
19 lines
<%@ Page Language="VB" Debug="true" %>
<script runat="server">
Dim mycon As New conValue()
Sub page_load()
mycon.con("Select count(*) as count from w5_shop_profiles where email = '" & Request.Form("email") & "' AND password = '" & Request.Form("password") & "'", 1, 2)
If (mycon.Temp1 = 0) Then
Response.Redirect("login.aspx")
Else
mycon.con("Select clname,userid from w5_shop_profiles where email = '" & Request.Form("email") & "' AND password = '" & Request.Form("password") & "'", 1, 1)
While mycon.sql1.Read
Response.Cookies("userid").Value = Trim(mycon.sql1("userid"))
Response.Cookies("uname").Value = Trim(mycon.sql1("clname"))
End While
mycon.sql1.Close()
Response.Redirect("index.aspx?msg=Done")
End If
End Sub
</script>